//
//  TLBaseButton.m
//  TLYunCMS
//
//  Created by mac on 16/10/17.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "TLBaseButton.h"

@implementation TLBaseButton

-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self initViews];
    }
    return self;
}

-(instancetype)initWithCoder:(NSCoder *)aDecoder{
    self = [super initWithCoder:aDecoder];
    if (self) {
        [self initViews];
    }
    return self;
}


-(void)awakeFromNib{
    [super awakeFromNib];
    [self initViews];
}

-(void)initViews{
    [self.layer setCornerRadius:2.0];
    [self.layer setMasksToBounds:YES];
}

@end
